package br.com.usp.shared;


import java.util.ArrayList;

import com.google.gwt.user.client.rpc.IsSerializable;

public class OrganizationUnit extends BMMRepresentation  implements IsSerializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ArrayList<Strategy> listaStrategy;
	private ArrayList<Influencer> listaInfluencer;
	private  ArrayList<FlowObjectsProcessDTO>  listaLinkBMM;
	
	public OrganizationUnit()
	{
		listaStrategy = new ArrayList<Strategy>();
		listaInfluencer = new ArrayList<Influencer>();
		 listaLinkBMM       = new ArrayList<FlowObjectsProcessDTO>();
	}
	
	public OrganizationUnit(BMMDTO bmm)
    {
		    this();
	    	setId(bmm.getId());
	    	setDescricao(bmm.getDescricao());
	    	setRepresentacao(bmm.getRepresentacao());
	    	setLeft(bmm.getLeft());
	    	setTop(bmm.getTop());
	    	setTipo(bmm.getTipo());
	    	
	}
	
	public ArrayList<Strategy> getListaStrategy() {
		return listaStrategy;
	}



	public void setListaStrategy(ArrayList<Strategy> listaStrategy) {
		this.listaStrategy = listaStrategy;
	}



	public ArrayList<Influencer> getListaInfluencer() {
		return listaInfluencer;
	}



	public void setListaInfluencer(ArrayList<Influencer> listaInfluencer) {
		this.listaInfluencer = listaInfluencer;
	}

	public ArrayList<FlowObjectsProcessDTO> getListaLinkBMM() {
		return listaLinkBMM;
	}

	public void setListaLinkBMM(ArrayList<FlowObjectsProcessDTO> listaLinkBMM) {
		this.listaLinkBMM = listaLinkBMM;
	}
	

	public String getTipo() {
		return "Organization Unit";
	}
 
	public String getRepresentacao() {
		return "btnOrganizationUnit";
	}
	
}
